1 st Doctoral Symposium of the International Conference on Software Language
نویسندگان
چکیده
The use of unconstrained context-free grammars for generalized parsing techniques has several advantages over traditional grammar classes, but comes with the danger of undiscovered ambiguities. The ambiguity problem for these grammars is undecidable in the general case, but this does not have to be a problem in practice. Our goal is to find ambiguity detection techniques that have sufficient precision and performance to make them suitable for practical use on realistic grammars. We give a short overview of related work, and propose new directions for improvement. 1 Problem Description and Motivation Generalized parsing techniques allow the use of the entire class of context-free grammars (CFGs) for the specification of the syntax of programming languages. This has several advantages. First, it allows for modular syntax definitions, which simplifies grammar development and enables reuse. Second, it grants total freedom in structuring a grammar to best fit its intended use. Grammars do not have to be squeezed into LL, LALR or LR(k) form for instance. Unfortunately, using unconstrained context-free grammars comes with the danger of ambiguities. A grammar is ambiguous if one or more sentences in its language have multiple parse trees. The semantics of a sentence is usually based upon the structure of its parse tree, so an ambiguous sentence can have multiple meanings. This often indicates a grammar bug which should be avoided. However, in some cases a grammar is intended to contain some degree of ambiguity. For instance in reverse engineering, where certain legacy languages can only be disambiguated with type checking after parsing. In both cases it is important to know the sources of ambiguity in the developed grammar, so they can be resolved or verified. Unfortunately, detecting the (un)ambiguity of a grammar is undecidable in the general case [7, 10, 9]. However, this does not necessarily have to be a problem in practice. Several Ambiguity Detection Methods (ADMs) exist that approach the problem from different angles, all with their own strengths and weaknesses. Because of the undecidability of the problem there is a general tradeoff between precision and performance/termination. The challenge for all ADMs is to give the most precise and understandable answer in the time available. The current state
منابع مشابه
1 Doctoral Symposium
The UML 2004 Doctoral Symposium was the first Doctoral Symposium in the UML Conference series. The Doctoral Symposium sought to bring together PhD Students working in areas related to UML and modeling in general. It was a full-day workshop held in parallel with the remaining workshops of the conference. Ten students were selected and were given the opportunity to present and discuss their resea...
متن کاملDoctoral Symposium Foreword
st , 2007. This volume contains the final versions of the papers accepted for presentation at the Symposium. The Symposium provided a forum for Ph.D. students to discuss their goals, methodology and results at an early stage in their research, in a critical but supportive and constructive environment. The symposium offered an opportunity for student participants to interact with other students ...
متن کاملAdvances in Rule Interchange and Applications, International Symposium, RuleML 2007, Orlando, Florida, October 25-26, 2007, Proceedings
Title Type advances in rule interchange and applications international symposium ruleml 2007 orlando florida PDF rule based reasoning programming and applications 5th international symposium ruleml 2011 europ PDF advances in computation and intelligence second international symposium isica 2007 wuhan china s PDF stochastic algorithms foundations and applications 4th international symposium saga...
متن کاملWelcome from the Doctoral Symposium Chair
Welcome to the CSMR Doctoral Symposium! The CSMR doctoral symposium provides an exciting environment for PhD students. They can share not only their results, but also their vision of the future. Next to the authors of the accepted abstracts, we invited a number of senior experts in the field to listen to the students and to engage them in discussion. We exchange feedback and experiences, in ord...
متن کاملRegression Testing, Spoken Language, Crash-Inducing Commits, UML, and Legal Policy
THIS MONTH’S COLUMN reports on papers from the 2015 ACM/IEEE International Symposium on Empirical Software Engineering and Measurement, the 11th International Conference on Predictive Models and Data Analytics in Software Engineering, and the 2015 ACM/IEEE International Conference on Model Driven Engineering Languages and Systems. Feedback or suggestions are welcome. In addition, if you try or ...
متن کاملFederated Conference on Computer Science and Information Systems - FedCSIS 2011, Szczecin, Poland, 18-21 September 2011, Proceedings
• AAIA'2013 8 International Symposium Advances in Artificial Intelligence and Applications • AIMA'2013 International Workshop on Artificial Intelligence in Medical Applications • ASIR’2013 2nd International Workshop on Advances in Semantic Information Retrieval • WCO'2013 Workshop on Computational Optimization • CSNS – Computer Science & Networked Systems • CANA'13 6th Computer Aspects of Numer...
متن کامل